<?php
/* @var $this CustomerController */
/* @var $model Customer */
/* @var $form CActiveForm */
?>

<?php
setlocale(LC_ALL, "de_DE.UTF-8");
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'customer-form-business',
	'enableAjaxValidation'=>false,
)); ?>

	<!--<p class="note">Fields with <span class="required">*</span> are required.</p>-->

	<?php echo $form->errorSummary($model); ?>



        <div class="row">
            <?php echo $form->labelEx($model,'tel_company'); ?>
            <?php echo $form->textField($model,'tel_company',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'tel_company'); ?>
        </div>

        <div class="row">
            <?php echo $form->labelEx($model,'email_company'); ?>
            <?php echo $form->textField($model,'email_company',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'email_company'); ?>
        </div>

        <div class="row">
            <?php echo $form->labelEx($model,'fax_company'); ?>
            <?php echo $form->textField($model,'fax_company',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'fax_company'); ?>
        </div>

    <div class="inner_block">

        <div class="row">
            <?php echo $form->labelEx($model,'sector'); ?>
            <?php echo $form->textField($model,'sector',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'sector'); ?>
        </div>

        <div class="row">
            <?php echo $form->labelEx($model,'company'); ?>
            <?php echo $form->textField($model,'company',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'company'); ?>
        </div>

        <div class="row">
            <?php echo $form->labelEx($model,'profession'); ?>
            <?php echo $form->textField($model,'profession',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'profession'); ?>
        </div>

    </div>

    <div class="inner_block">
        <div class="row">
            <?php echo $form->labelEx($model,'homepage'); ?>
            <?php echo $form->textField($model,'homepage',array('size'=>60,'maxlength'=>100)); ?>
            <?php echo $form->error($model,'homepage'); ?>
        </div>

    </div>


    <div class="clear"></div>

    <br>
    <br>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Anlegen' : 'Speichern'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->